(function(){
	var trs =$("table tbody tr");
    $("#zongji").text(trs.length);
    
    $(".jiantou").each(function () {
		$(this).on("mouseenter",function () {
			$(this).parent().find(".dialog").css({
				"display":"block",
				"z-index":"99",
				"left":"-38px",
				"bottom":"50px",
				"text-align":"center"
			})
			$(this).css("background","#efefef");
        })
        $(this).on("mouseleave",function () {
            $(this).parent().find(".dialog").css({
                "display":"none",
                "z-index":"99",
                "left":"-38px",
                "bottom":"50px",
                "text-align":"center"
            })
            $(this).css("background","none");
        })
    })
    
    
})();
